package com.tsingteng.cosfun.ui.message.geneal.presenter;

import android.content.Intent;

import com.tsingteng.cosfun.bean.DataBean;
import com.tsingteng.cosfun.bean.FollowBean;
import com.tsingteng.cosfun.bean.PlayBean;
import com.tsingteng.cosfun.mvp.view.IView;

/**
 * 描述 :
 * 创建人: 肖利.
 * 时间:2018/8/6
 * qq(872179966)
 */

public class PlayContract {

    public interface IPlayPresenter{
        void getPlayData(int currentPage, int count);
        void getPraiseOrNotData(String praise_type,String id,String type);
        void loginFollowFans(String follow_id);
        void loginNoFollow(String follow_id);
        void getDelPlay(String paragraph_id);
        void getAddNotLikePlay(String paragraph_id);
        //观看便当时长
        void getPlayLongTime(String start_time,String time_length);
    }

    public interface IPlayView extends IView {
        void showPlayData(PlayBean data);
        void showPraiseResult(Integer data);
        void getFollowResult(FollowBean followBean);
        void showDelResult(String status);
        void ShowNotLiketResult(String status);
        //观看便当时长
        void showLongTime(DataBean status);
        void showTimeFail();
    }
}
